// toString:把数组转换为字符串使用逗号隔开，并返回结果。不改变原数组

let fruits = ["Banana", "Orange", "Apple", "Mango"];
let res = fruits.toString();
console.log(res, fruits);
// Banana,Orange,Apple,Mango
